package ch.unisi.inf.pfii.teamred.pacman.model;

public final class PowerPill extends Bonus {

	private static final int POINTS = 50;
	
	public PowerPill() {
		super(POINTS);
		setName("power_pill");
	}

	public final int doAction(final Creature creature) {
		creature.setInvulnerable();
		creature.setTimer(getPoints());
		return getPoints();
	}

	public final String toString() {
		return "*";
	}

}
